#include "mainwindow.h"
#include <QApplication>

#include<QPixmap>
#include<QSplashScreen>
#include<QDir>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    QPixmap pixmap("images//open.jpg");
    QSplashScreen splash(pixmap);
    splash.show();
    for(long i = 0; i < 8000000; ++i);
    MainWindow w;
    w.show();
    splash.finish(&w);
    return a.exec();
}
